package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 上传文件
 * </p>
 *
 * @author xglhappy
 * @since 2022-04-14
 */
@Getter
@Setter
  @TableName("sys_files")
@ApiModel(value = "Files对象", description = "上传文件")
public class Files implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("文件名称")
      private String name;

      @ApiModelProperty("文件类型")
      private String type;

      @ApiModelProperty("文件大小")
      private Long size;

      @ApiModelProperty("上载链接")
      private String url;

      @ApiModelProperty("是否删除")
      private Integer isDelete;

      @ApiModelProperty("是否禁用")
      private Integer enable;

      @ApiModelProperty("文件的md5")
      private String md5;


}
